package com.kt.pojo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * Description: 消息
 * Created with IntelliJ IDEA.
 *
 * @author: KamTeng
 * Date: 2021/2/28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChatMessage {

    private String from;
    private String to;
    private String content;
    private LocalDateTime date;
    private String fromNickName;
}